/*
 * Copyright (c) 2016. For Intelligent Group.
 */

package com.intelligent.ispc.core.repository;

import com.intelligent.ispc.core.entity.Role;
import com.intelligent.ispc.core.repository.mybatis.MyBatisRepository;

import java.util.List;

/**
 * Created by Garen.Pang on 2016/9/13.
 */
@MyBatisRepository
public interface RoleDao {

    /**
     * Find roles by id array.
     *
     * @param ids id array.
     * @return roles.
     */
    List<Role> findByIds(List<Long> ids);
}
